The anterior branch of the greater auricular nerve arises with the posterior branch on the surface of the sternocleidomastoid muscle and passes to the parotid gland.  It pierces the parotid gland to join the facial nerve (VII cranial nerve) and terminates in the facial skin overlying it.  

Supply
The anterior branch of the greater auricular nerve supplies skin over the parotid gland.